import request from "@/utils/request";

export function getOperatePanelGroup() {
  return request({
    url: '/home/operate/getPanelGroup',
    method: 'get'
  })
}


export function getInvestPanelGroup() {
  return request({
    url: '/home/invest/getPanelGroup',
    method: 'get'
  })
}

export function getPublishChartData() {
  return request({
    url: '/home/publish/getChartData',
    method: 'get'
  })
}

export function getInvestChartData() {
  return request({
    url: '/home/invest/getChartData',
    method: 'get'
  })
}

export function getOperateChartData() {
  return request({
    url: '/home/operate/getChartData',
    method: 'get'
  })
}

export function getOperateStockRankTop10() {
  return request({
    url: '/home/operate/getStockRankTop10',
    method: 'get'
  })
}

export function getInvestStockRankTop10() {
  return request({
    url: '/home/invest/getStockRankTop10',
    method: 'get'
  })
}
